Buffer Class
Description:
A class for creating Buffer object.
__call
Type: Metamethod.
Description:
Creates a new buffer instance.
Signature:
metamethod __call: function(self: BufferClass, size: integer): Buffer
Parameters:
Parameter | Type | Description |
---|---|---|
size | integer | The size of the buffer to create. |
Returns:
Return Type | Description |
---|---|
Buffer | A new instance of the "Buffer" type with the given size. |